EncounterCondition

@Serializable
data class EncounterCondition(val id: Int, val name: String, val names: List<Name>, val values: List<Handle.Named<EncounterConditionValue>>) : NamedModel(source)

Conditions which affect what pokemon might appear in the wild, e.g., day or night. See: https://pokeapi.co/docs/v2#encounter-conditions

Parameters

id

The identifier for this resource.

name

The name for this resource.

names

The name of this resource listed in different languages.

values

A list of possible values for this encounter condition.

Constructors

Link copied to clipboard
constructor(id: Int, name: String, names: List<Name>, values: List<Handle.Named<EncounterConditionValue>>)

Properties

Link copied to clipboard
open override val id: Int
Link copied to clipboard
open override val name: String
Link copied to clipboard
Link copied to clipboard